package com.example.demo_test.Service;

import com.example.demo_test.DTO.CreateGroupDto;
import com.example.demo_test.Entity.Group;
import com.example.demo_test.Entity.Result;
import org.springframework.data.repository.query.Param;

import java.util.List;

public interface GroupChatService {
    List<Group> getGroup(String userId);
    Result createGroup(CreateGroupDto createGroupDto);

    Result inviteFriends(String[] userIdList, int groupId, String currentUserId,String groupName);

    Result exitGroupChat(String userId, String groupId);

    Result deleteGroupChat(String groupId);
}
